package com.cus.tom.transfer.view;

import android.content.Context;
import android.util.AttributeSet;

import com.ogaclejapan.smarttablayout.SmartTabLayout;

public class CustomTabLayout extends SmartTabLayout {

    private TabProvider tabProvider;

    public CustomTabLayout(Context context) {
        super(context);
    }

    public CustomTabLayout(Context context, AttributeSet attrs) {
        super(context, attrs);
    }

    public CustomTabLayout(Context context, AttributeSet attrs, int defStyle) {
        super(context, attrs, defStyle);
    }

    @Override
    public void setCustomTabView(TabProvider provider) {
        super.setCustomTabView(provider);
        tabProvider = provider;
    }

    public TabProvider getTabProvider() {
        return tabProvider;
    }
}
